<template>
  <div class="hmax sz ks-row">
    <leftModel :modelCode="excelInfo.modelCode" />
    <div class="ks-col ovh">
      <rightModel :excelInfo="excelInfo" ref="rightModel" />
    </div>
  </div>
</template>
<script>
import leftModel from './leftModel.vue'
import rightModel from './rightModel/index.vue'
export default {
  components: {
    leftModel,
    rightModel
  },
  props: ['excelInfo'],
  methods: {
    saveAllSettings () {
      return this.$refs.rightModel && this.$refs.rightModel.saveAllSettings()
    },
    openGlobalPanel () {
      this.$refs.rightModel && this.$refs.rightModel.openGlobalPanel()
    }
  }
}
</script>

<style lang="scss" scoped>
.hmax {
  height: 100%;
}
</style>
